#!/usr/bin/python
# https://huggingface.co/lmqg/bart-base-squad
from transformers import pipeline
# initialize model
pipe = pipeline("text2text-generation", 'lmqg/bart-base-squad')
# question generation
question = pipe('<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.')

print(question[0])